package com.ruoyi.modules.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import com.ruoyi.common.annotation.Excel;
import lombok.Data;

/**
 * 用户临时表
 * @TableName t_user
 */
@TableName(value ="t_user")
@Data
public class TUser implements Serializable {
    /**
     * id
     */
    @TableId
    private String id;

    private String userId;
    private Long createDept;
    /**
     * 姓名
     */
    @Excel(name = "姓名")
    private String name;

    /**
     * 职务
     */
    @Excel(name = "职务")
    private String position;

    /**
     * 别名
     */
    @Excel(name = "手机号")
    private String phone;

    /**
     * 部门
     */
    private String department;

    /**
     * 流程id
     */
    private String workid;
    /**
     * 用户名
     */
    private String userName;

    /**
     * 企业名称
     */
    private String qymc;


    @Excel(name = "反馈进度",dictType = "fkzt")
    @TableField(exist = false)
    private String fkzt;

    @TableField(exist = false)
    private String fkId;

    @TableField(exist = false)
    private String cysj;

    public TUser(String id,String userId, String name, String position, String phone, String workid,String userName,String qymc,Long createDept) {
        this.id = id;
        this.userId = userId;
        this.name = name;
        this.position = position;
        this.phone = phone;
        this.workid = workid;
        this.userName = userName;
        this.qymc = qymc;
    }
    public TUser(String userId, String name, String position, String phone, String workid,String userName,String qymc,Long createDept) {
        this.userId = userId;
        this.name = name;
        this.position = position;
        this.phone = phone;
        this.workid = workid;
        this.userName = userName;
        this.qymc = qymc;
        this.createDept = createDept;
    }

    public TUser() {
    }
}